<template>
	<view class="box">
		<!-- <web-view v-if="URL" :src="URL"></web-view> -->
	</view>
</template>
 
<script>
	import { mapState } from 'vuex';
	export default {
		data() {
			return {
				URL: undefined,
			}
		},
		computed: {
			...mapState(['user'])
		},
		onLoad(e) {		
			if('type' in e){
				console.log(e.url+'?type='+e.type+'&user_id='+this.$store.state.user.id+'&token='+this.$store.state.user.token+'&from=app');
				this.URL = e.url+'?type='+e.type+'&user_id='+this.$store.state.user.id+'&token='+this.$store.state.user.token+'&from=app';
			}else{
				this.URL = e.url+'?user_id='+this.$store.state.user.id+'&token='+this.$store.state.user.token;
			}			
		},
		methods: {
			
			}
		}
	
</script>